|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectagents.bayesianopponentmodel.OpponentModel
negotiator.boaframework.offeringstrategy.anac2010.IAMhaggler2010.OpponentModel
public class OpponentModel
| Nested Class Summary | |
|---|---|
static class |
OpponentModel.Extreme
|
| Field Summary |
|---|
| Fields inherited from class agents.bayesianopponentmodel.OpponentModel |
|---|
fBiddingHistory, fDomain |
| Constructor Summary | |
|---|---|
OpponentModel(UtilitySpace utilitySpace)
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
findMinMaxUtility()
Find the minimum and maximum utilities of the bids in the utility space. |
EvaluatorHypothesis |
getBestHypothesis(int issue)
|
double |
getExpectedUtility(Bid bid)
Get the expected utility of a bid. |
double |
getExpectedWeight(int number)
Get the expected weight of a particular issue. |
double |
getExtremeEvaluation(Evaluator evaluator,
OpponentModel.Extreme extreme)
|
Bid |
getFirstBid()
Get the first bid. |
Hypothesis |
getHypothesis(int index)
|
double |
getNormalizedUtility(Bid bid)
Get the normalised utility of a bid. |
double |
getNormalizedUtility(Bid bid,
boolean debug)
Get the normalised utility of a bid. |
void |
printBestHypothesis()
Print the best hypothesis. |
void |
printHypotheses()
Print the details of all of the hypotheses. |
void |
updateBeliefs(Bid opponentBid,
long currentTime,
double totalTime)
Update the beliefs about the opponent, based on an observation. |
| Methods inherited from class agents.bayesianopponentmodel.OpponentModel |
|---|
getDomain, haveSeenBefore, isCrashed, updateBeliefs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpponentModel(UtilitySpace utilitySpace)
utilitySpace - The utility space of the agent.agent - The agent (used only for logging purposes).| Method Detail |
|---|
public double getNormalizedUtility(Bid bid)
throws java.lang.Exception
getNormalizedUtility in class OpponentModelbid - The bid to get the normalised utility of.
java.lang.Exception
public double getNormalizedUtility(Bid bid,
boolean debug)
throws java.lang.Exception
bid - The bid to get the normalised utility of.debug - Whether or not to output debugging information
java.lang.Exception
public double getExpectedUtility(Bid bid)
throws java.lang.Exception
getExpectedUtility in class OpponentModelbid - The bid to get the expected utility of.
java.lang.Exception
public void updateBeliefs(Bid opponentBid,
long currentTime,
double totalTime)
throws java.lang.Exception
opponentBid - The opponent's bid that was observed.
java.lang.Exception
protected void findMinMaxUtility()
throws java.lang.Exception
findMinMaxUtility in class OpponentModeljava.lang.Exception
public double getExtremeEvaluation(Evaluator evaluator,
OpponentModel.Extreme extreme)
public double getExpectedWeight(int number)
getExpectedWeight in class OpponentModelnumber - The issue number.
public void printBestHypothesis()
public EvaluatorHypothesis getBestHypothesis(int issue)
public void printHypotheses()
public Bid getFirstBid()
public Hypothesis getHypothesis(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||